package com.tensai.teach.魔方;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Tensai
 */
public class Test {
    static List<Base> list = new ArrayList<>();
    public static void main(String[] args) {

    }

    /**
     * 上黄-下白,前蓝-后绿,左橙-右红
     */
    public static void init() {

        for (Color color : Color.values()) {
            for (int i = 0; i < 3; i++) {
                for (int j = 0; j < 3; j++) {
                    Base base = new Base(color, i, j);
                    list.add(base);
                }
            }
        }

    }
}
